package com.trivia.restResponses

class SaveScoreResponse extends RestResponse {
	
	def friends=[]
	
	def score
	
	def ownProperties(){
		intermediateXML += "<score id=\"" + score.id + "\">"
		intermediateXML += "<level>" + score.level.label + "</level>"
		intermediateXML += "<scoring>" + score.scoring + "</scoring>"
		intermediateXML += "<time>" + score.time + "</time>"
		intermediateXML += "</score>"
		
		intermediateXML
	}
}
